// 首先引入我们自定义的axios对象
import request from './request'


// 导出对象
const Test = data =>{
    return request.post({
        url:'/test/test',
        data:data
    })
}

const SignIn = data =>{
    return request.post({
        url:'/auth/signIn',
        data:data
    })
}

const SignUp = data =>{
    return request.post({
        url:'/auth/signUp',
        data:data
    })
}

const GetNii = data =>{
    return request.get({
        url:'/api/nifti',
        data:data
    })
}

export default{
    Test,
    SignIn,
    SignUp,
    GetNii
}
